﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.WindowsAPICodePack.DirectX.Direct2D1;
using Microsoft.WindowsAPICodePack.DirectX.DirectWrite;
using Microsoft.WindowsAPICodePack.DirectX.Graphics;
using Microsoft.WindowsAPICodePack.DirectX.WindowsImagingComponent;

namespace Framework
{
    public class Context
    {
        public D2DFactory D2DFactory;
        public ImagingFactory ImagingFactory;
        public DWriteFactory WriteFactory;
        public HwndRenderTarget Target;
        public readonly ColorF DefaultBackground = Color.White.GetD2D();
        public Microsoft.WindowsAPICodePack.DirectX.Direct2D1.Brush DefaultBrush;
        public TextFormat DefaultTextFormat;
        public RenderTargetProperties RenderProps;
    }
}
